//
//  BTAVPlayerView.h
//  BTAVEditor
//
//  Created by TMAC on 2020/1/9.
//  Copyright © 2020 XMac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BTAVPlayerView : UIView

@property (strong, nonatomic) AVPlayer *player;

-(void)play;

-(void)pause;

-(void)next:(AVPlayerItem *)item;

-(void)previous:(AVPlayerItem *)item;


@end

NS_ASSUME_NONNULL_END
